package com.fy56.platform.logistics.model;

import com.fy56.platform.logistics.common.AbstractModel;

import java.util.Date;

/**
 * 用户信息
 *
 * @author ShanFei
 * @version 2017-03-10
 */
public class User extends AbstractModel {
    /**
     * 所属角色ids串
     */
    private String roleIds;
    /**
     * 所属角色名称串
     */
    private String roleNames;
    /**
     * 所属角色名称串
     */
    private String roleNamesHide;
    /**
     * 登陆名
     */
    private String loginName;
    /**
     * 登陆密码
     */
    private String loginPwd;
    /**
     * 明文密码
     */
    private String expressPwd;
    /**
     * 用户编码
     */
    private String userCode;
    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 身份证
     */
    private String identityCard;
    /**
     * 年龄
     */
    private String userAge;
    /**
     * 性别 1:男 2:女
     */
    private Integer userSex;
    /**
     * 地址
     */
    private String userAddress;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 电话
     */
    private String phone;
    /**
     * 手机
     */
    private String mobilePhone;
    /**
     * 是否是系统数据,系统数据不可删除 0:系统数据 1：用户数据
     */
    private Integer sysData;
    /**
     * 是否允许登陆 0:允许 1:不允许
     */
    private Integer loginFlag;
    /**
     * 用户失效时间
     */
    private Date expireTime;
    /**
     * 最后登陆IP
     */
    private String loginIp;
    /**
     * 最后登陆日期
     */
    private Date loginTime;
    /**
     * 上次登陆IP
     */
    private String oldLoginIp;
    /**
     * 上次登陆日期
     */
    private Date oldLoginTime;
    /**
     * 当前产品线,数据库无,读取配置文件获得
     */
    protected String currentProductLine;

    public String getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String roleIds) {
        this.roleIds = roleIds;
    }

    public String getRoleNames() {
        return roleNames;
    }

    public void setRoleNames(String roleNames) {
        this.roleNames = roleNames;
    }

    public String getRoleNamesHide() {
        return roleNamesHide;
    }

    public void setRoleNamesHide(String roleNamesHide) {
        this.roleNamesHide = roleNamesHide;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getExpressPwd() {
        return expressPwd;
    }

    public void setExpressPwd(String expressPwd) {
        this.expressPwd = expressPwd;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getUserAge() {
        return userAge;
    }

    public void setUserAge(String userAge) {
        this.userAge = userAge;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public Integer getSysData() {
        return sysData;
    }

    public void setSysData(Integer sysData) {
        this.sysData = sysData;
    }

    public Integer getLoginFlag() {
        return loginFlag;
    }

    public void setLoginFlag(Integer loginFlag) {
        this.loginFlag = loginFlag;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getOldLoginIp() {
        return oldLoginIp;
    }

    public void setOldLoginIp(String oldLoginIp) {
        this.oldLoginIp = oldLoginIp;
    }

    public Date getOldLoginTime() {
        return oldLoginTime;
    }

    public void setOldLoginTime(Date oldLoginTime) {
        this.oldLoginTime = oldLoginTime;
    }

    public String getCurrentProductLine() {
        return currentProductLine;
    }

    public void setCurrentProductLine(String currentProductLine) {
        this.currentProductLine = currentProductLine;
    }
}